package com.gxa.eloan.service;

import com.gxa.eloan.pojo.PageBean;
import com.gxa.eloan.pojo.TxBalance;
import com.gxa.eloan.pojo.TxWithdraws;
import com.gxa.eloan.vo.CheckVo;

import java.util.Date;

public interface TxWithdrawsService {


    /**
     * 这是查询所有的提现记录
     * @param
     * @param
     * @return
     */
    PageBean<TxWithdraws> selectByPage(CheckVo checkVo);


    /**
     * 这是查询需要审核的方法
     * @param page
     * @param limit
     * @return
     */
    PageBean<TxWithdraws> selectByStatus(int page, int limit);

    /**
     * 这是提现待审核的方法
     * @param id 提现的id
     */
    Object[] selectById(Long id, Long userId);

    int updateById(Double balance_total, double withdraws, double balancea_available, String notes, long withId, long balanId, Boolean bool);
}
